package org.newlucene.core.index;

/** A TermInfo is the record of information stored for a term.*/

final class TermInfo 
{
	/** The number of documents which contain the term. */
	int docCount = 0;
	long freqPointer = 0;

	TermInfo() {}

	TermInfo(int df, long fp) 
	{
		docCount = df;
		freqPointer = fp;
	}

	final void set(int df, long fp) 
	{
		docCount = df;
		freqPointer = fp;
	}
}
